//
//  CurrentData.h
//  Test passenger soldier
//
//  Created by ikuaiyue on 15/7/6.
//  Copyright (c) 2015年 shike. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FMDatabase.h"
#import "FMResultSet.h"
#import "FMDatabaseQueue.h"
#import "TimeModel.h"

@interface CurrentData : NSObject
+(BOOL)checkTableCreatedInDb:(FMDatabase *)db;
+(BOOL)uptateModel:(TimeModel *)model;
+(NSMutableArray*)fetchAllFriendsFromLocal:(NSString *)pname;
+(BOOL)saveData:(TimeModel *)model;
+ (BOOL)insertData:(id)data toTable:(NSString *)name;
+(BOOL)uptateTypeModel:(TimeModel *)model;
+(NSMutableArray*)fetchAll;
@end
